package com.nineclock.approve.service;

import com.nineclock.approve.pojo.ApproveDefinition;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface ActivitiService {
    /**
     * 动态部署审批流程到Activiti
     * @param definition
     */
    public void deployProcessToActiviti(ApproveDefinition definition);

    void deleteProcessFromActiviti(ApproveDefinition definition);
}
